#include <filesystem>

#include "OnnxDetector.h"

int main() {
  OnnxDetector detector{};

  /*
  // 获得当前程序路径
  std::filesystem::path current_path = std::filesystem::current_path();
  // 获得当前的图片文件夹路径
  std::filesystem::path imgs_path = current_path / "images";
  // 识别
  detector.detectImages(imgs_path.string());
   */
  detector.detectVideo(R"(G:\temp\tank\0.mp4)");
}